Skip to content

Move JSVGRasterizer unit test to SVG fragment#3347

Merged
HeikoKlare merged 1 commit into
eclipse-platform:masterfrom
HeikoKlare:jsvgrasterizer-test
Jun 12, 2026
Merged

Move JSVGRasterizer unit test to SVG fragment#3347
HeikoKlare merged 1 commit into
eclipse-platform:masterfrom
HeikoKlare:jsvgrasterizer-test

Conversation

@HeikoKlare

Copy link
Copy Markdown
Contributor

The JSVGRasterizerTest is currently implemented in the ordinary SWT test bundle, even though the JSVGRasterizer is only one possible (and the current default) SVGRasterizer implementation. The test is actually a unit test for the provider, thus it is properly placed in the SVG fragment that provides the rasterizer implementation itself.

This change moves the test class to the SVG fragment and enables it via pure surefire execution. This is similar to what is already done regarding execution of OS-specific unit tests in the OS fragments.

@eclipse-platform-bot

Copy link
Copy Markdown
Contributor

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

bundles/org.eclipse.swt.svg/META-INF/MANIFEST.MF
bundles/org.eclipse.swt.svg/pom.xml

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From 5151e6ef4a5c8e4b43d1606eb6e75cac5f8de527 Mon Sep 17 00:00:00 2001
From: Eclipse Platform Bot <platform-bot@eclipse.org>
Date: Sun, 31 May 2026 11:17:09 +0000
Subject: [PATCH] Version bump(s) for 4.41 stream


diff --git a/bundles/org.eclipse.swt.svg/META-INF/MANIFEST.MF b/bundles/org.eclipse.swt.svg/META-INF/MANIFEST.MF
index 880ac15225..f51e06d1b8 100644
--- a/bundles/org.eclipse.swt.svg/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.swt.svg/META-INF/MANIFEST.MF
@@ -1,7 +1,7 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-SymbolicName: org.eclipse.swt.svg
-Bundle-Version: 3.133.0.qualifier
+Bundle-Version: 3.133.100.qualifier
 Automatic-Module-Name: org.eclipse.swt.svg
 Bundle-Name: %fragmentName
 Bundle-Vendor: %providerName
diff --git a/bundles/org.eclipse.swt.svg/pom.xml b/bundles/org.eclipse.swt.svg/pom.xml
index 97f5be0222..ae49855a0b 100644
--- a/bundles/org.eclipse.swt.svg/pom.xml
+++ b/bundles/org.eclipse.swt.svg/pom.xml
@@ -19,7 +19,7 @@
 		<relativePath>../../</relativePath>
 	</parent>
 	<artifactId>org.eclipse.swt.svg</artifactId>
-	<version>3.133.0-SNAPSHOT</version>
+	<version>3.133.100-SNAPSHOT</version>
 	<packaging>eclipse-plugin</packaging>
 
 	<build>
-- 
2.54.0

Further information are available in Common Build Issues - Missing version increments.

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown
Contributor

Test Results

  188 files    188 suites   26m 49s ⏱️
4 730 tests 4 707 ✅  23 💤 0 ❌
6 854 runs  6 691 ✅ 163 💤 0 ❌

Results for commit 1c55fb1.

♻️ This comment has been updated with latest results.

@HeikoKlare HeikoKlare force-pushed the jsvgrasterizer-test branch 2 times, most recently from 8ae5b24 to 75e6393 Compare June 1, 2026 13:30
@HeikoKlare HeikoKlare marked this pull request as ready for review June 1, 2026 15:22
@HeikoKlare HeikoKlare force-pushed the jsvgrasterizer-test branch from 75e6393 to cec86a3 Compare June 12, 2026 11:34
The JSVGRasterizerTest is currently implemented in the ordinary SWT test
bundle, even though the JSVGRasterizer is only one possible (and the
current default) SVGRasterizer implementation. The test is actually a
unit test for the provider, thus it is properly placed in the SVG
fragment that provides the rasterizer implementation itself.

This change moves the test class to the SVG fragment and enables it via
pure surefire execution. This is similar to what is already done
regarding execution of OS-specific unit tests in the OS fragments.
@HeikoKlare HeikoKlare force-pushed the jsvgrasterizer-test branch from cec86a3 to 1c55fb1 Compare June 12, 2026 11:56
@HeikoKlare HeikoKlare merged commit 632895d into eclipse-platform:master Jun 12, 2026
24 checks passed
@HeikoKlare HeikoKlare deleted the jsvgrasterizer-test branch June 12, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants